<template>
  <div absolute top-20px bottom-20px left-10px w-360px bg-white>
    <button @click="handlerAddLayer">添加图层</button>
  </div>
</template>

<script setup>
import { getMap, initTdLayer } from "../hooks/useMap";
const viewer = getMap();
const layerType = "cva",
  matrixSet = "c";
const handlerAddLayer = () => {
//   initTdLayer(viewer, layerType, matrixSet);
};
</script>

<style lang="scss" scoped>
</style>